﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Forum/Views/Shared/Forum1.Master" Inherits="System.Web.Mvc.ViewPage<SacNetUG.Areas.Forum.Models.Post>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h4>Create a New Subject for Discussion or Comment or Answers</h4>
    <hr />

    <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm()) {%>
    <%: Html.ValidationSummary(true) %>

        <div>
            Enter below a full statement of your Question or Subject for discussion (about 100 words maximum)
        </div>
        <div>
            <%: Html.TextAreaFor(model => model.ThePost, new { cols = "100", rows = "7" })%>
            <%: Html.ValidationMessageFor(model => model.ThePost) %>
        </div>
        <br />
        <div>
            Enter below a shorter version to show as the 'Subject' (about 10 - 15 words maximum)
        </div>
        <div>
            <%: Html.TextAreaFor(model => model.InitialPostSubject, new { cols = "70", rows = "1" })%>
            <%: Html.ValidationMessageFor(model => model.InitialPostSubject) %>
        </div>
        <br />
        <div>
            Enter below your login 'Handle' (nickname, for use in this forum, 10 chars max)
        </div>
        <div>
            <%: Html.TextBoxFor(model => model.PostorHandle) %>
            <%: Html.ValidationMessageFor(model => model.PostorHandle) %>
        </div>
        <br />
        <input type="submit" class="submitbutton" id="submit" name="submit" value="Submit" />
    <% } %>
</asp:Content>
